Skip to content

Fix duplicate options warnings#1342

Open
mdellweg wants to merge 1 commit intopulp:mainfrom
mdellweg:param_warnings
Open

Fix duplicate options warnings#1342
mdellweg wants to merge 1 commit intopulp:mainfrom
mdellweg:param_warnings

Conversation

@mdellweg
Copy link
Copy Markdown
Member

fixes #1315

@github-actions github-actions bot added the wip label Mar 19, 2026
@mdellweg mdellweg force-pushed the param_warnings branch 3 times, most recently from b66e434 to 0c3efc3 Compare March 20, 2026 09:32
Also turn the warning into an error in the help pages test.

fixes pulp#1315
@github-actions github-actions bot removed the wip label Apr 1, 2026
@mdellweg mdellweg marked this pull request as ready for review April 1, 2026 12:08
@mdellweg mdellweg changed the title WIP Fix duplicate options warnings Apr 1, 2026
@mdellweg mdellweg enabled auto-merge (rebase) April 1, 2026 14:07
Comment on lines +887 to +891
def _inner(cmd: PulpCommand) -> PulpCommand:
cmd.option_processors.append(_group_callback)
return cmd

return _inner
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could this just be return option_processor(_group_callback)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[PULP-1358] Warnings when using rpm content upload

2 participants